/* simple.c

   Simple liboctopus usage example

   This program is distributed under the GPL, version 2
*/

#include <stdio.h>
#include <octopus.h>

int main(int argc, char **argv)
{
#if 0
    int ret;
    struct octopus_context octopusc;
    octopus_init(&octopusc);

    if((ret = octopus_usb_open(&octopusc, 0x0403, 0x6001)) < 0) {
        fprintf(stderr, "unable to open octopus device: %d (%s)\n", ret, octopus_get_error_string(&octopusc));
        return EXIT_FAILURE;
    }

    octopus_usb_close(&octopusc);
    octopus_deinit(&octopusc);
#endif
    return EXIT_SUCCESS;
}
